import http from '../util/http.js'

const createUrl = '/history/create'
const queryByUidUrl = '/history/queryByUid'
const removeByIdUrl = '/history/removeById'

const create = () =>{
    return http.post(createUrl)
}

const queryByUid = () => {
    return http.get(queryByUidUrl)
}

const removeById = (data) =>{
    return http.del(removeByIdUrl,data)
}

export default {
    create,queryByUid,removeById
}